package com.mingqijia.gassafety.job.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-02-23
 */

@Data
@ApiModel("客户列表")
public class ConsumerResponse {

    private Integer id;
    private Integer consumerId;
    @ApiModelProperty(value = "用户id")
    private String memberId;
    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "户号")
    private String subsCode;

    @ApiModelProperty(value = "户名")
    private String custName;

    @ApiModelProperty(value = "户址")
    private String custAddress;

    @ApiModelProperty(value = "户主手机号")
    private String custPhone;

    @ApiModelProperty(value = "户主 用户类型")
    private String custType;

    @ApiModelProperty(value = "气户状态")
    private String custStatus;

    @ApiModelProperty(value = "客户名字")
    private String name;

    @ApiModelProperty(value = "地址(详细)")
    private String address;

    @ApiModelProperty(value = "经度")
    private Double positionLon;

    @ApiModelProperty(value = "纬度")
    private Double positionLat;

    @ApiModelProperty(value = "所属行业type -字典")
    private String industryType;

    @ApiModelProperty(value = "所属行业name")
    private String industryName;

    @ApiModelProperty(value = "姓名")
    private String contactsName;

    @ApiModelProperty(value = "电话号")
    private String contactsTelephone;

    @ApiModelProperty(value = "客户序号:展示为客户id")
    private String consumerSeq;

    @ApiModelProperty(value = "设备总数")
    private Integer equipmentTotal;

    @ApiModelProperty(value = "点位总数")
    private Integer pointTotal;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createdAt;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date updatedAt;

    @ApiModelProperty(value = "备注 200字以内")
    private String remark;

    @ApiModelProperty(value = "经纬度")
    private String position;

    @ApiModelProperty(value = "0-系统录入 1-时刻助手  2-老时刻助手")
    private String source;

    @ApiModelProperty(value = "燃气公司")
    private String companyName;

    @ApiModelProperty(value = "客户地址")
    private String customerAddress;

}
